home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / KSLIB11.ARJ / MUSIC.H < prev    next >
Text File  |  1991-03-31  |  211b  |  9 lines

  1. #define    SPEAKER_PORT    0x61
  2. #define    SAY                0x48
  3. #define    SHUTUP            (0x48|0x2)
  4. #define    SPEAK(c)        outp(SPEAKER_PORT, ( 0x8000 & c ) ? SAY : SHUTUP)
  5.  
  6. void    play(char *);
  7. char    *mplay(char *);
  8. void    tri(short *);
  9.